-- CALC_EQUIP_5233_PROP

-- 计算圣者日记的基础属性
-- @param user 玩家对象
-- @param classId 装备id
return function(user, classId)
    -- 基础属性：攻击+5、魔力+5、首次获得探索点+1000
    local props =  {{200, "attack", 5, -1,}, {200, "magic", 5, -1,}, {572, "search_point", 1000, -1,},};

    local prop = PropM.combine(user, "talent_equip", 5233);
    if prop[3] > 0 then
        -- 天赋附加属性：全魔法效果提升 + level * 3%
        local value = FormulaM.invoke("GET_TALENT_ADD_EQUIPS_VALUE", "equip", 5233, prop[3]);
        props = {{200, "attack", 5, -1,}, {200, "magic", 5, -1,}, {14, "all", value[1] * 10, -1,}, {572, "search_point", 1000, -1,},};
    end

    return props;
end